package com.juneng.mapper;

import com.juneng.entity.BookMsg;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.juneng.dto.BookMsgQueryDto;
import com.juneng.vo.BookMsgVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

/**
 * Mapper 接口
 *
 * @author zds
 * @since 2021-07-13
 */
public interface BookMsgMapper extends BaseMapper<BookMsg> {
    IPage<BookMsgVo> page(IPage page, @Param("dto") BookMsgQueryDto dto);

    BookMsgVo getById(Long id);
}
